Mollie\WooCommerce\PaymentMethods\AbstractPaymentMethod S

Total Complexity 47
Dependencies 6
Dependents 1
Total lines 302
Lines of code 141
Logical lines of code 78
Comment lines 121
Methods 28
Properties 9

Methods 28

Method Rating Maintainability Complexity Lines of code
getIconUrl()
S
62 6 10
defaultSettings()
S
64 3 9
getInitialOrderStatus()
S
71 3 6
title()
S
66 3 8
titleIsDefault()
S
68 2 7
getApiTitle()
S
74 2 4
updateSettingsWithDefaults()
S
65 2 9
getSettings()
S
66 2 8
getProcessedDescription()
S
73 2 4
shouldDisplayIcon()
S
74 2 4
hasSurcharge()
S
78 2 3
isCreditCardSelectorEnabled()
S
73 2 4
__construct()
S
61 1 12
paymentFieldsService()
S
82 1 3
hasPaymentFields()
S
80 1 3
getProcessedDescriptionForBlock()
S
80 1 3
paymentFieldsStrategy()
S
77 1 4
surcharge()
S
82 1 3
getSharedFormFields()
S
74 1 4
getAllFormFields()
S
80 1 3
getProperty()
S
75 1 4
hasProperty()
S
75 1 4
getMergedProperties()
S
79 1 3
getUploadedImage()
S
75 1 4
updateMethodOption()
S
69 1 6
getIdFromConfig()
S
80 1 3
isUseApiTitleChecked()
S
79 1 3
getOrderStatusCancelledPayments()
S
81 1 3